<script type="text/javascript">
$(function(){
    $('#cancel_button').click(function(){
        DialogManager.close('seller_order_shipped');
    });
    $('#seller_order_shipped').validate({
    errorLabelContainer: $('#warning'),
    invalidHandler: function(form, validator) {
           $('#warning').show();
    },
     rules : {
            invoice_no : {
                required   : true
            }
        },
        messages : {
            invoice_no  : {
                required   : '{$lang.invoice_no_empty}'
            }
        }
    });
});
</script>
<div class="content1">
    <div id="warning"></div>
    <form method="post" action="index.php?app=seller_order&amp;act=shipped&amp;order_id={$order.order_id}" target="seller_order" id="seller_order_shipped">
    <p>{$lang.order_sn}&nbsp;&nbsp;&nbsp;&nbsp;:<span>{$order.order_sn}</span></p>
    <!--{if $enable_express}-->
    <dl>
        <dt>{$lang.express_company}:</dt>
        <dd>
        	<select name="express_company">
            	<option value="">{$lang.select_express_company}</option>
                <!--{foreach from=$express_company item=company key=key}-->
                <option value="{$key}" {if $key eq $order.express_company} selected="selected"{/if}>{$company}</option>
                <!--{/foreach}-->
            </select>
        </dd>
    </dl>
    <!--{/if}-->
    <dl>
        <dt></dt>
        <dd>  <input type="text" name="invoice_no" id="invoice_no_input" value="{$order.invoice_no}" placeholder="{$lang.invoice_no}"/></dd>
    </dl>
    <dl>
        <dt></dt>
        <dd><textarea id="remark_input" name="remark" placeholder="{$lang.operate_reason}"  style="height:50px;"></textarea></dd>
    </dl>
    <input type="submit" id="confirm_button" class="btn1" value="{$lang.confirm}" />
    <input type="button" id="cancel_button" class="btn2" value="{$lang.cancel}"/>
    </form>
</div>